package newsDemo.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

@Data
@TableName("agree")
public class agree {
    @JsonProperty("USER_ID")
    int userId;
    @JsonProperty("NEWS_ID")
    int newsId;

    public agree(int user_id, int news_id) {
        this.userId = user_id;
        this.newsId = news_id;
    }

    public agree() {}
}
